from django.db import models


# Create your models here.

class Order(models.Model):
    """影票模型"""
    cinema_id = models.IntegerField(blank=True, null=True, verbose_name='影院id')
    cinema_index_id = models.IntegerField(blank=True, null=True, verbose_name='影院座位索引id')
    film_id = models.IntegerField(blank=True, null=True, verbose_name='影片id')
    user_id = models.IntegerField(blank=True, null=True, verbose_name='用户id')

    class Meta:
        db_table = 'Order'
        verbose_name = '影片与影院关系表'
        verbose_name_plural = '影片与影院关系表'
